package com.peas.platform.module.icims.expenditure.expenses.service;

import com.peas.platform.framework.mybatisplus.service.BaseService;
import com.peas.platform.module.icims.expenditure.expenses.api.req.SaveExpenditureApplicationReq;
import com.peas.platform.module.icims.expenditure.expenses.api.req.SubmitExpenditureApplicationReq;
import com.peas.platform.module.icims.expenditure.expenses.dto.ExpenditureApplicationDto;

import java.math.BigDecimal;

public interface ExpenditureApplicationService extends BaseService<ExpenditureApplicationDto> {

    ExpenditureApplicationDto saveExpenditureApplication(SaveExpenditureApplicationReq vo);

    void submitExpenditureApplication(SubmitExpenditureApplicationReq vo);

    void revocationExpenditureApplication(Long id);

    void completeExpenditureApplication(Long id);

    BigDecimal getTotalReimbursementAmount(Long expenditureApplicationId);

}
